package com.hope.mychat.core.bind;

/**
 * @author ZWH
 */
public interface Observer {
    /**
     * 添加好友
     * @param uid
     * @param friendId
     */
    void onAddFriend(String uid, String friendId);

    /**
     * 删除好友
     * @param uid
     * @param friendId
     */
    void onRemoveFriend(String uid, String friendId);

    /**
     * 进群
     * @param uid
     * @param chatroomId
     */
    void onAddChatroomUser(String uid, String chatroomId);

    /**
     * 出群
     * @param uid
     * @param chatroomId
     */
    void onRemoveChatroomUser(String uid, String chatroomId);
}
